-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code quality: Fix typos #67304
Code quality: Fix typos #67304
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @szepeviktor! In case you missed it, we'd love to have you join us in our Slack community. If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@szepeviktor Thanks for the cleanup.
I think this PR contains a lot of unnecessary changes that need to be fixed and go through all CI. Could you address these issues?
packages/block-editor/src/components/global-styles/filters-panel.js
Outdated
Show resolved
Hide resolved
packages/components/src/surface/test/__snapshots__/index.tsx.snap
Outdated
Show resolved
Hide resolved
...ste-should-cut-partial-selection-and-merge-like-a-normal-delete---not-forward-2-chromium.txt
Outdated
Show resolved
Hide resolved
...d-paste-plain-text-in-plain-text-context-when-cross-block-selection-is-copied-2-chromium.txt
Outdated
Show resolved
Hide resolved
@t-hamano, I addressed your feedback related to the slug change for the developer documentation page. I also rebased the PR with the latest changes from
Yes, all of the issues are reported because of differences with how Prettier formats code. By the way, it would be cool to have GitHub integration that can be triggered with the label to automatically fix such issues. @szepeviktor, that a cool usage of the tool. Very impressive given the complexity of the Gutenberg codebase. Thank you for working on this PR. |
docs/reference-guides/interactivity-api/core-concepts/using-typescript.md
Outdated
Show resolved
Hide resolved
packages/block-editor/src/components/text-transform-control/README.md
Outdated
Show resolved
Hide resolved
@@ -3417,7 +3417,7 @@ protected static function should_override_preset( $theme_json, $path, $override | |||
|
|||
/** | |||
* Returns the default slugs for all the presets in an associative array | |||
* whose keys are the preset paths and the leafs is the list of slugs. | |||
* whose keys are the preset paths and the leaves is the list of slugs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: This typo is already fixed in the core, so a backport changelog should not be necessary.
@gziolo Thanks for the fix. I've checked all the files again and we should be able to ship this PR.
What would it take to get the Static Analysis CI to pass? I checked out this branch and opened the file that is causing the lint error, but my code editor doesn't give any warnings 🤔 |
@michalczaplinski, your review status is blocking this PR. Is there anything you want to be updated outside the Prettier formatting issues discussed above?
Exwcuting |
@gziolo That is hard. |
Done 🍏 |
Thank you. For me, the changes look good; I will leave the final call to @t-hamano and @michalczaplinski, who shared some concerns previously. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's OK to merge this PR. This PR is indeed huge, but I think all the feedback has been addressed correctly.
packages/block-library/src/query/edit/inspector-controls/author-control.js
Outdated
Show resolved
Hide resolved
@@ -56,7 +56,7 @@ export default function useGetNewImages( images, imageData ) { | |||
currentImage.clientId === image.clientId | |||
) && | |||
imageData?.find( ( img ) => img.id === image.id ) && | |||
! image.fromSavedConent | |||
! image.fromSavedContent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, this is an actual bugfix - image.fromSavedConent
does not exist.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've looked through all the files and they should be good to go 👍 .
Interesting which words are most commonly misspelt. I think overridden
takes the crown, which I've also always spelled as with one d
😅 .
Looks like an e2e test was faliing. I've merged |
Tests passed. Thanks for the PR @szepeviktor ! |
Glad to contribute. |
…ry/interactivity-lazy-hydration * 'trunk' of https://github.com/WordPress/gutenberg: (143 commits) Update: Bundle upload media. (#68522) Add: Media field changing ui to Dataviews and content preview field to posts and pages (#67278) Bump the react-native group with 2 updates (#68095) Check Storybook build on CI for PRs (#68466) Bump the github-actions group across 1 directory with 2 updates (#68436) Classic theme preview: remove admin-bar class name (#68519) Remove geriux as code owner (#68523) Post Featured Image: Adds control to clear the the overlay color (#68525) Components: Standardize reduced motion handling using media queries (#68421) Upgrade Playwright to v1.49 (#68504) Document Outline: Use block client ID as unique 'key' (#68502) Storybook: Add UnitControl story (#67346) Details: Add allowedBlocks and TemplateLock attributes (#68489) Post Comment Link: Show Border Control By Default (#68506) Query Total: Show Border Controls By Default (#68507) RSS: Added Colour support (#66419) Refactor: Separate input form styles to a dedicated stylesheet (#68501) Code quality: Fix typos (#67304) Page List: Added color support (#66430) Fix flaky DataViews list arraow nav e2e tests (#68503) ...
What?
Found few years of typos.
How?
Would you like me to work on it?
https://github.com/crate-ci/typos